<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>阅视界——多语种写作多维智评与可视化系统</title>
    <link rel="stylesheet" href="auth.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
</head>
<body>
    <div class="container">
        <div class="form-container">
            <div class="header">
                <div class="logo">
                    <i class="fas fa-cloud"></i>
                    <h1>阅视界</h1>
                </div>
                <div class="tabs">
                    <button class="tab-btn active" id="login-tab">登录</button>
                    <button class="tab-btn" id="register-tab">注册</button>
                </div>
            </div>

            <!-- 登录表单 -->
            <form class="form active" id="login-form">
                <div class="form-group">
                    <label for="login-username">用户名</label>
                    <div class="input-container">
                        <i class="fas fa-user"></i>
                        <input type="text" id="login-username" placeholder="请输入用户名或邮箱" required>
                    </div>
                </div>
                <div class="form-group">
                    <label for="login-password">密码</label>
                    <div class="input-container">
                        <i class="fas fa-lock"></i>
                        <input type="password" id="login-password" placeholder="请输入密码" required>
                        <i class="toggle-password fas fa-eye-slash"></i>
                    </div>
                </div>
                <button type="submit" class="submit-btn">登录</button>
            </form>

            <!-- 注册表单 -->
            <form class="form" id="register-form">
                <div class="form-group">
                    <label for="register-username">用户名</label>
                    <div class="input-container">
                        <i class="fas fa-user"></i>
                        <input type="text" id="register-username" placeholder="请输入用户名" required>
                    </div>
                </div>
                <div class="form-group">
                    <label for="register-email">电子邮箱</label>
                    <div class="input-container">
                        <i class="fas fa-envelope"></i>
                        <input type="email" id="register-email" placeholder="请输入电子邮箱" required>
                    </div>
                </div>
                <div class="form-group">
                    <label for="register-password">密码</label>
                    <div class="input-container">
                        <i class="fas fa-lock"></i>
                        <input type="password" id="register-password" placeholder="请输入密码" required>
                        <i class="toggle-password fas fa-eye-slash"></i>
                    </div>
                </div>
                <button type="submit" class="submit-btn">立即注册</button>
            </form>
        </div>
    </div>
    <script src="auth.js"></script>
</body>
</html>